/*
 * @Author: your name
 * @Date: 2021-08-26 20:02:25
 * @LastEditTime: 2021-08-26 23:51:48
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /backend/src/main/java/com/buaa/demo/Dao/SubmissionDao.java
 */
package com.buaa.demo.Dao;

import com.buaa.demo.Entity.Submission;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface SubmissionDao {
    void submit(Submission sub);
    List<Integer> getUIds(int qn_id);
    List<Submission> getSubmissions(int qn_id, int u_id);
    List<Integer> getCIds(int qn_id, int u_id, int q_id);
    String getAnswers(int qn_id, int u_id, int q_id);
    List<Integer> getQIds(int qn_id, int u_id);
}
